package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName school
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("school")
public class School implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 学校代码
     */
    private String schoolCode;
    /**
     * 学校名字
     */
    private String schoolName;
    /**
     * 学校层次
     */
    private String schoolLevel;
    /**
     * 学校简称
     */
    private String schoolAcronym;

    @TableField(fill= FieldFill.INSERT)
    private String createUser;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updateUser;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //删除标志（0代表未删除，1代表已删除）
    private Integer isDelete;
}